package com.bandit.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role {
    private int rid;
    private String roleName;

    //按类型查询构造函数
    public Role(int rid) {
        this.rid = rid;
    }
}

